package com.tangfuzhong.ext;

import java.util.Date;

/**
 * <p><em>Created on 2021/12/9 4:04 下午</em></p>
 * 定义一个普通类作为事件也是可以的
 * @author fuzhongtang
 * @since 1.0.1
 */
public class LogEvent {

    private Date createDate;
    private String message;

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "LogEvent{" +
                "createDate=" + createDate +
                ", message='" + message + '\'' +
                '}';
    }
}
